package file

import (
	"github.com/gogf/gf/v2/frame/g"
	"github.com/gogf/gf/v2/net/ghttp"
	"server/internal/model"
)

type UploadReq struct {
	g.Meta `path:"/file/upload" tags:"v1-单文件上传" method:"post" mime:"multipart/form-data" summary:"单文件上传" dc:"单文件上传"`
	File   *ghttp.UploadFile `v:"required" json:"file" type:"file" dc:"选择文件上传"`
}
type UploadRes struct {
	Detail model.FileUploadOutput `json:"detail"`
}
